home *** CD-ROM | disk | FTP | other *** search
/ The Cartoon Guide to Physics / The Cartoon Guide to Physics.iso / pc / physdata / glossary.dir / 00063.ls < prev    next >
Encoding:
Text File  |  1995-09-10  |  498 b   |  15 lines

  1. on mouseDown
  2.   global StartLine, EndLine
  3.   set the castNum of sprite 34 to the number of cast "up"
  4.   set the foreColor of cast 52 to 255
  5.   if the number of lines in field "termpath" > (EndLine + 1) then
  6.     puppetSound("Click")
  7.     set EndLine to EndLine + 1
  8.     set StartLine to StartLine + 1
  9.     put line StartLine to EndLine of field "termPath" into field "path"
  10.     if the number of lines in field "termpath" = (EndLine + 1) then
  11.       set the castNum of sprite 28 to 0
  12.     end if
  13.   end if
  14. end
  15.